package com.da.web.sys_role_menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.da.cache.MyCache;
import com.da.web.sys_role_menu.entity.SysRoleMenu;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author da
 * @time 2023/12/3 下午 12:18
 */
@CacheNamespace(implementation = MyCache.class, eviction = MyCache.class)
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {
    void saveRoleMenu(@Param("roleId") Long roleId, @Param("menuIds") List<Long> menuIds);
}
